
<!--created by SBDEAM2004Creator Version0.5-->
<%@ include file="/publics/grid_head.inc"%>
<%@ include file="/publics/grid_datahead.inc"%>

<!--data-->
<div id="gridData" class="gridDiv">
<form action="<%=CONTEXTPATH%>/commonAction.do" method="post" name="frmAction">
<sbdhtc:datagrid id="datagrid" operationType="<%=operationType%>">
<table id="tblgrid" class="gridTbl">
<thead>
<tr>
	<td width="20" class="gridHead">No.</td>
<td <%=isNowrap%> class="gridHead" width=86 id="sp_stockdetail_month.material_code"><a href="#" id="sort_sp_stockdetail_month.material_code" onclick="return f_setSort('sp_stockdetail_month.material_code');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.material_code"/></a></td><td <%=isNowrap%> class="gridHead" width=130 id="sp_stockdetail_month.material_name"><a href="#" id="sort_sp_stockdetail_month.material_name" onclick="return f_setSort('sp_stockdetail_month.material_name');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.material_name"/></a></td><td <%=isNowrap%> class="gridHead" width=116 id="sp_stockdetail_month.material_style"><a href="#" id="sort_sp_stockdetail_month.material_style" onclick="return f_setSort('sp_stockdetail_month.material_style');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.material_style"/></a></td><td <%=isNowrap%> class="gridHead" width=128 id="sp_stockdetail_month.material_standard"><a href="#" id="sort_sp_stockdetail_month.material_standard" onclick="return f_setSort('sp_stockdetail_month.material_standard');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.material_standard"/></a></td><td <%=isNowrap%> class="gridHead" width=45 id="sp_stockdetail_month.material_unit"><a href="#" id="sort_sp_stockdetail_month.material_unit" onclick="return f_setSort('sp_stockdetail_month.material_unit');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.material_unit"/></a></td><td <%=isNowrap%> class="gridHead" width=85 id="sp_stockdetail_month.last_qty"><a href="#" id="sort_sp_stockdetail_month.last_qty" onclick="return f_setSort('sp_stockdetail_month.last_qty');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.last_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=97 id="sp_stockdetail_month.last_money"><a href="#" id="sort_sp_stockdetail_month.last_money" onclick="return f_setSort('sp_stockdetail_month.last_money');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.last_money"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.in_qty"><a href="#" id="sort_sp_stockdetail_month.in_qty" onclick="return f_setSort('sp_stockdetail_month.in_qty');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.in_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.in_money"><a href="#" id="sort_sp_stockdetail_month.in_money" onclick="return f_setSort('sp_stockdetail_month.in_money');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.in_money"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.move_qty"><a href="#" id="sort_sp_stockdetail_month.move_qty" onclick="return f_setSort('sp_stockdetail_month.move_qty');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.move_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.move_money"><a href="#" id="sort_sp_stockdetail_month.move_money" onclick="return f_setSort('sp_stockdetail_month.move_money');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.move_money"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.out_qty"><a href="#" id="sort_sp_stockdetail_month.out_qty" onclick="return f_setSort('sp_stockdetail_month.out_qty');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.out_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.out_money"><a href="#" id="sort_sp_stockdetail_month.out_money" onclick="return f_setSort('sp_stockdetail_month.out_money');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.out_money"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.stocktake_qty"><a href="#" id="sort_sp_stockdetail_month.stocktake_qty" onclick="return f_setSort('sp_stockdetail_month.stocktake_qty');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.stocktake_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.stocktake_sum"><a href="#" id="sort_sp_stockdetail_month.stocktake_sum" onclick="return f_setSort('sp_stockdetail_month.stocktake_sum');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.stocktake_sum"/></a></td><td <%=isNowrap%> class="gridHead" width=98 id="sp_stockdetail_month.account_qty"><a href="#" id="sort_sp_stockdetail_month.account_qty" onclick="return f_setSort('sp_stockdetail_month.account_qty');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.account_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=112 id="sp_stockdetail_month.account_money"><a href="#" id="sort_sp_stockdetail_month.account_money" onclick="return f_setSort('sp_stockdetail_month.account_money');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.account_money"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="sp_stockdetail_month.wh_code"><a href="#" id="sort_sp_stockdetail_month.wh_code" onclick="return f_setSort('sp_stockdetail_month.wh_code');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.wh_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.price_diff"><a href="#" id="sort_sp_stockdetail_month.price_diff" onclick="return f_setSort('sp_stockdetail_month.price_diff');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.price_diff"/></a></td><td <%=isNowrap%> class="gridHead" width=68 id="sp_stockdetail_month.storage_mode"><a href="#" id="sort_sp_stockdetail_month.storage_mode" onclick="return f_setSort('sp_stockdetail_month.storage_mode');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.storage_mode"/></a></td><td <%=isNowrap%> class="gridHead" width=77 id="sp_stockdetail_month.cost_unit_name"><a href="#" id="sort_sp_stockdetail_month.cost_unit_name" onclick="return f_setSort('sp_stockdetail_month.cost_unit_name');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.cost_unit_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="sp_stockdetail_month.material_attribute"><a href="#" id="sort_sp_stockdetail_month.material_attribute" onclick="return f_setSort('sp_stockdetail_month.material_attribute');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.material_attribute"/></a></td><td <%=isNowrap%> class="gridHead" width=153 id="sp_stockdetail_month.wh_name"><a href="#" id="sort_sp_stockdetail_month.wh_name" onclick="return f_setSort('sp_stockdetail_month.wh_name');" class="sortHref"><eam:message key="column.stock_month_query.sp_stockdetail_month.wh_name"/></a></td>
</tr>
</thead>
<tbody>
<%String strDdlb = "";String sbddesc="";%>
<eam:iterateResult>
<tr style="display:<%=PageUtilMethod.getValueByMap("visible", rowMap)%>" id="<%=PageUtilMethod.getValueByMap("", rowMap)%>" class="gridData" <%=PageUtilMethod.getValueByMap("rowEvent", rowMap)%>>
	<td align="center" class="gridHead">
	<%=PageUtilMethod.getValueByMap("indexNO", rowMap)%>
	<input type="hidden" value="" name="keyID">
	</td>
<td <%=isNowrap%> align="left" id="sp_stockdetail_month.material_code"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.material_code", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.material_name"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.material_name", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.material_style"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.material_style", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.material_standard"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.material_standard", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.material_unit"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.material_unit", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.last_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.last_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.last_money"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.last_money", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.in_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.in_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.in_money"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.in_money", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.move_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.move_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.move_money"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.move_money", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.out_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.out_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.out_money"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.out_money", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.stocktake_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.stocktake_qty", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.stocktake_sum"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.stocktake_sum", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.account_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.account_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.account_money"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.account_money", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.wh_code"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.wh_code", rowMap)%></td><td <%=isNowrap%> align="right" id="sp_stockdetail_month.price_diff"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.price_diff", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.storage_mode"><%strDdlb = "ddlb.storage_mode." + PageUtilMethod.getValueByMap("sp_stockdetail_month.storage_mode", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.cost_unit_name"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.cost_unit_name", rowMap)%></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.material_attribute"><%strDdlb = "ddlb.material_attribute." + PageUtilMethod.getValueByMap("sp_stockdetail_month.material_attribute", rowMap);sbddesc="#5e7f#5dde#6b63#6cf0";%><eam:message key="<%=strDdlb%>"/></td><td <%=isNowrap%> align="left" id="sp_stockdetail_month.wh_name"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.wh_name", rowMap)%></td>
<td style="display:none" id="sp_stockdetail_month.return_money"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.return_money", rowMap)%></td><td style="display:none" id="sp_stockdetail_month.return_qty"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.return_qty", rowMap)%></td><td style="display:none" id="sp_stockdetail_month.total_month"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.total_month", rowMap)%></td><td style="display:none" id="sp_stockdetail_month.wh_id"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.wh_id", rowMap)%></td><td style="display:none" id="sp_stockdetail_month.cost_unit_id"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.cost_unit_id", rowMap)%></td><td style="display:none" id="sp_stockdetail_month.current_num"><%=PageUtilMethod.getValueByMap("sp_stockdetail_month.current_num", rowMap)%></td>
</tr>
</eam:iterateResult>
</tbody>
<tfoot>
<eam:TotalResult />
<tr id="total" class="gridFoot" style="display:<%=visible%>">
	<td align="center"><eam:message key="grid.text.sum"/><input type="hidden" value="" name="keyID"></td>
<td align="left" id="total_material_code"><%=PageUtilMethod.getValueByMap("total_material_code" ,totalMap)%></td><td align="left" id="total_material_name"><%=PageUtilMethod.getValueByMap("total_material_name" ,totalMap)%></td><td align="left" id="total_material_style"><%=PageUtilMethod.getValueByMap("total_material_style" ,totalMap)%></td><td align="left" id="total_material_standard"><%=PageUtilMethod.getValueByMap("total_material_standard" ,totalMap)%></td><td align="left" id="total_material_unit"><%=PageUtilMethod.getValueByMap("total_material_unit" ,totalMap)%></td><td align="right" id="total_last_qty"><%=PageUtilMethod.getValueByMap("total_last_qty" ,totalMap)%></td><td align="right" id="total_last_money"><%=PageUtilMethod.getValueByMap("total_last_money" ,totalMap)%></td><td align="right" id="total_in_qty"><%=PageUtilMethod.getValueByMap("total_in_qty" ,totalMap)%></td><td align="right" id="total_in_money"><%=PageUtilMethod.getValueByMap("total_in_money" ,totalMap)%></td><td align="right" id="total_move_qty"><%=PageUtilMethod.getValueByMap("total_move_qty" ,totalMap)%></td><td align="right" id="total_move_money"><%=PageUtilMethod.getValueByMap("total_move_money" ,totalMap)%></td><td align="right" id="total_out_qty"><%=PageUtilMethod.getValueByMap("total_out_qty" ,totalMap)%></td><td align="right" id="total_out_money"><%=PageUtilMethod.getValueByMap("total_out_money" ,totalMap)%></td><td align="left" id="total_stocktake_qty"><%=PageUtilMethod.getValueByMap("total_stocktake_qty" ,totalMap)%></td><td align="left" id="total_stocktake_sum"><%=PageUtilMethod.getValueByMap("total_stocktake_sum" ,totalMap)%></td><td align="right" id="total_account_qty"><%=PageUtilMethod.getValueByMap("total_account_qty" ,totalMap)%></td><td align="right" id="total_account_money"><%=PageUtilMethod.getValueByMap("total_account_money" ,totalMap)%></td><td align="left" id="total_wh_code"><%=PageUtilMethod.getValueByMap("total_wh_code" ,totalMap)%></td><td align="right" id="total_price_diff"><%=PageUtilMethod.getValueByMap("total_price_diff" ,totalMap)%></td><td align="left" id="total_storage_mode"><%=PageUtilMethod.getValueByMap("total_storage_mode" ,totalMap)%></td><td align="left" id="total_cost_unit_name"><%=PageUtilMethod.getValueByMap("total_cost_unit_name" ,totalMap)%></td><td align="left" id="total_material_attribute"><%=PageUtilMethod.getValueByMap("total_material_attribute" ,totalMap)%></td><td align="left" id="total_wh_name"><%=PageUtilMethod.getValueByMap("total_wh_name" ,totalMap)%></td>
</tr>
</tfoot>
</table>
</sbdhtc:datagrid>
<%@ include file="/publics/grid_formhidden.inc"%>
</form>
</div>
<!--data-->
<%@ include file="/publics/grid_databottom.inc"%>
<%@ include file="/publics/grid_bottom.inc"%>
